const fs = require('fs');
fs.readFile(`./envs/.env.${process.argv[2]}`, 'utf-8', (err, src) => {
  if (err) return
  src += '\nNODE_ENV=production'
  fs.writeFile('.env.production', src, error => {
    console.log(error)
  })
})